package com.guodu.service;

import java.util.List;

import com.guodu.entity.SupplierEvaluation;
import com.guodu.entity.SupplierEvaluationStatus;
import com.guodu.entity.Units;
import com.guodu.entity.UserInfo;
import com.guodu.vo.SupplierEvaluationQueryVo;
import com.guodu.vo.SupplierEvaluationVo;

public interface SupplierEvaluationService {
	public List<SupplierEvaluationVo> findByVo(SupplierEvaluationQueryVo supplierEvaluationQueryVo,Units units,
			int curPage, int pageSize);
	public List<SupplierEvaluation> downLoad(SupplierEvaluationQueryVo supplierEvaluationQueryVo,Units units);
	public void examinAll(SupplierEvaluationQueryVo supplierEvaluationQueryVo,Units units);
	public int findSizeByVo(SupplierEvaluationQueryVo supplierEvaluationQueryVo,Units units);
	
	public void save(SupplierEvaluation supplierEvaluation);
	public void examine(String ids,String reason,String beforeStatus,Long afterStatus,UserInfo userInfo);
	void delByIds(String[] ids);
	
	public SupplierEvaluation findById(String id);
	
	public void update(SupplierEvaluation supplierEvaluation,Long userId);
	
	public List<SupplierEvaluationStatus>findStatus(String id);
	
	public void deleteById(String id);
}
